package com.fingard.dsp.bank.reqrespobj.billpool;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RetAtsBase;
import com.fingard.xml.XmlTextWriter;

/*超短贷
* */
public class RetAtsB310ShortLoan extends RetAtsBase{
    public String  	TransState	 ;
    public String  	RespInfo	 ;
    public String  	CommandCode	 ;
    public String  	PayInfoCode	 ;
    public String  	RespCode	 ;
    public String   ContractReqID;
    public String   ContractNum  ;
    public String     ReqSeqID;

    public void writeRetAtsXml(RetAtsB310ShortLoan B310){
        retXmlWriter.writeElementString("RespCode",RespCode);
        retXmlWriter.writeElementString("RespInfo",RespInfo);
        retXmlWriter.writeStartElement("DetailRecord");
        retXmlWriter.writeElementString("TransState",TransState);
        retXmlWriter.writeElementString("PayInfoCode",PayInfoCode);
        retXmlWriter.writeElementString("ContractReqID",ContractReqID);
        retXmlWriter.writeElementString("ContractNum",ContractNum);
        retXmlWriter.writeElementString("ReqSeqID",ReqSeqID);
        writeEnd();
    }

    public RetAtsB310ShortLoan(ReqRespHeader p_header) {
        retHeader = p_header;
        retXmlWriter = new XmlTextWriter();//用于输出返回ATS的XML报文
    }
}
